package io.renren.modules.skate.service;

import io.renren.common.service.CrudService;
import io.renren.modules.skate.dto.FClassifyDTO;
import io.renren.modules.skate.entity.FClassifyEntity;

import java.util.List;

/**
 * 分类表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 3.0 2023-11-28
 */
public interface FClassifyService extends CrudService<FClassifyEntity, FClassifyDTO> {

    FClassifyDTO queryByName(String classifyName);

    // *****************************

    List<FClassifyDTO> queryByType(Integer type);

    FClassifyDTO queryByTypeAndId(Integer id, Integer type);
}